﻿@model SchoolManagerMVC.Repository.EntityFramework.Student

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Students</legend>
    
    <div class="display-label">FirstName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">LastName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">Age</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Age)
    </div>

    <div class="display-label">TuitionOwed</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TuitionOwed)
    </div>

    
    
</fieldset>
@using (Html.BeginForm("ConfirmDelete")) {
     @Html.HiddenFor(model => model.UniqueID)
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
